import { createApp } from 'vue';

import { createPinia } from 'pinia';

import App from './App.vue';

import components from '@/components/index';
import directives from '@/directives'; // 自定义全局指令
import '@/styles/index.scss';
import 'animate.css';
import router from '@/router/index';

import 'virtual:svg-icons-register'; // svg注册器

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(components);
app.use(directives);

app.mount('#app');
